
.timeline-item {
  position: absolute;
  color: #1A1A1A;
  border-color: #97B0F8;
  border-width: 1px;
  background-color: #D5DDF6;
  display: inline-block;
  z-index: 1;
  /*overflow: hidden;*/
}

.timeline-item.timeline-selected {
  border-color: #FFC200;
  background-color: #FFF785;

  /* z-index must be higher than the z-index of custom time bar and current time bar */
  z-index: 2;
}

.timeline-editable.timeline-selected {
  cursor: move;
}

.timeline-item.timeline-point.timeline-selected {
  background-color: #FFF785;
}

.timeline-item.timeline-box {
  text-align: center;
  border-style: solid;
  border-radius: 2px;
}

.timeline-item.timeline-point {
  background: none;
}

.timeline-item.timeline-dot {
  position: absolute;
  padding: 0;
  border-width: 4px;
  border-style: solid;
  border-radius: 4px;
}

.timeline-item.timeline-range {
  border-style: solid;
  border-radius: 2px;
  box-sizing: border-box;
}

.timeline-item.timeline-background {
  border: none;
  background-color: rgba(213, 221, 246, 0.4);
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.timeline-item .timeline-item-overflow {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.timeline-item-visible-frame {
  white-space: nowrap;
}

.timeline-item.timeline-range .timeline-item-content {
  position: relative;
  display: inline-block;
}

.timeline-item.timeline-background .timeline-item-content {
  position: absolute;
  display: inline-block;
}

.timeline-item.timeline-line {
  padding: 0;
  position: absolute;
  width: 0;
  border-left-width: 1px;
  border-left-style: solid;
}

.timeline-item .timeline-item-content {
  white-space: nowrap;
  box-sizing: border-box;
  padding: 5px;
}

.timeline-item .timeline-onUpdateTime-tooltip {
  position: absolute;
  background: #4f81bd;
  color: white;
  width: 200px;
  text-align: center;
  white-space: nowrap;
  padding: 5px;
  border-radius: 1px;
  transition: 0.4s;
  -o-transition: 0.4s;
  -moz-transition: 0.4s;
  -webkit-transition: 0.4s;
}

.timeline-item .timeline-delete, .timeline-item .timeline-delete-rtl {
  position: absolute;
  top: 0px;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  padding: 0px 5px;
  cursor: pointer;

  -webkit-transition: background 0.2s linear;
  -moz-transition: background 0.2s linear;
  -ms-transition: background 0.2s linear;
  -o-transition: background 0.2s linear;
  transition: background 0.2s linear;
}

.timeline-item .timeline-delete {
  right: -24px;
}

.timeline-item .timeline-delete-rtl {
  left: -24px;
}

.timeline-item .timeline-delete:after, .timeline-item .timeline-delete-rtl:after {
  content: "\00D7"; /* MULTIPLICATION SIGN */
  color: red;
  font-family: arial, sans-serif;
  font-size: 22px;
  font-weight: bold;

  -webkit-transition: color 0.2s linear;
  -moz-transition: color 0.2s linear;
  -ms-transition: color 0.2s linear;
  -o-transition: color 0.2s linear;
  transition: color 0.2s linear;
}

.timeline-item .timeline-delete:hover, .timeline-item .timeline-delete-rtl:hover {
  background: red;
}

.timeline-item .timeline-delete:hover:after, .timeline-item .timeline-delete-rtl:hover:after {
  color: white;
}

.timeline-item .timeline-drag-center {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0px;
  cursor: move;
}

.timeline-item.timeline-range .timeline-drag-left {
  position: absolute;
  width: 24px;
  max-width: 20%;
  min-width: 2px;
  height: 100%;
  top: 0;
  left: -4px;

  cursor: w-resize;
}

.timeline-item.timeline-range .timeline-drag-right {
  position: absolute;
  width: 24px;
  max-width: 20%;
  min-width: 2px;
  height: 100%;
  top: 0;
  right: -4px;

  cursor: e-resize;
}

.timeline-range.timeline-item.timeline-readonly .timeline-drag-left,
.timeline-range.timeline-item.timeline-readonly .timeline-drag-right {
  cursor: auto;
}

.timeline-item.vis-cluster {
  vertical-align: center;
  text-align: center;
  border-style: solid;
  border-radius: 2px;
}

.timeline-item.timeline-cluster-line {
  padding: 0;
  position: absolute;
  width: 0;
  border-left-width: 1px;
  border-left-style: solid;
}

.timeline-item.timeline-cluster-dot {
  position: absolute;
  padding: 0;
  border-width: 4px;
  border-style: solid;
  border-radius: 4px;
}